﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DeviceConfigView.xaml.cs" company="R.V.Kasner">
//   Copyright © 2011 R.V.Kasner
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace Owen.Terminal.View.DeviceConfig
{
    using Owen.Terminal.ViewModel;

    public partial class DeviceConfigView : IDeviceConfigView
    {
        public DeviceConfigView()
        {
            this.InitializeComponent();
        }

        public IViewModel ViewModel
        {
            get
            {
                return this.DataContext as IViewModel;
            }

            set
            {
                this.DataContext = value;
            }
        }
    }
}